﻿using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAI.Infrastructure.Requests
{
    public class ChatSessionRequest
    {
        public Guid AppUserId { get; set; }
        public string Title { get; set; }
        public int Id { get; set; }
    }
    public class ChatSessioneRequestValidator : AbstractValidator<ChatSessionRequest>
    {
        public ChatSessioneRequestValidator() 
        {
            RuleFor(x => x.Title).NotEmpty().NotNull();
            //RuleFor(x => x.AppUserId).NotNull();
        }
    }
}
